package com.shopping;


import org.junit.Test;

import org.springframework.boot.test.context.SpringBootTest;

import java.text.SimpleDateFormat;
import java.util.Date;

@SpringBootTest

public class test {

    @Test
    public void test1() {
        Date date = new Date();
        SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String format = simpleDateFormat.format(date);
        System.out.println(date);
        System.out.println(format);
        Integer a=-1;
        if(a==null) {
            System.out.println(a);
        }
    }


}